package main

import (
	"fmt"
)

func main() {

	var m map[string]string = map[string]string{"name2": "小王吧", "name3": "小王吧"}

	//指定容量,
	var m2 map[string]string = make(map[string]string, 10)

	fmt.Println(m)

	m["name"] = "小王吧"

	for k, v := range m {

		fmt.Printf("k is %s , v is %v \n", k, v)
	}

	fmt.Println(m, len(m))

	fmt.Println(m2, len(m2))
}
